package com.hongye.manager.feign;

import com.hongye.common.entity.BrokerEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("findhouse-es")
public interface EsServiceFeign {

    @RequestMapping("/es/add")
    public  void add(@RequestBody BrokerEntity brokerEntity);
}
